package so.sao.code.service.repository;

import java.util.List;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import org.springframework.data.jpa.domain.Specification;
import org.springframework.data.jpa.repository.JpaRepository;
import so.sao.code.service.domain.entity.TagBatchDownloadLog;

/**
 * Created by Administrator on 2017/11/2.
 */
public interface TagBatchDownloadLogDao extends JpaRepository<TagBatchDownloadLog, Long> {
    Page<TagBatchDownloadLog> findAll(Specification<TagBatchDownloadLog> spec, Pageable pageable);

	List<TagBatchDownloadLog> findBytagBatchId(Long tagBatchId);
	
	Integer countBytagBatchId(Long tagBatchId);
}
